package com.hyh.spring.service;

import org.springframework.stereotype.Component;

/**
 * @BelongsPackage: com.hyh.spring.service
 * @ClassName PaymentFallbackService
 * @Author: hyhWTX
 * @CreateTime: 2023-04-19  14:05
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@Component
public class PaymentFallbackService implements  PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK ,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut ,o(╥﹏╥)o";
    }
}
